package com.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ProjectName: 
 * @Package: 
 * @ClassName: 
 * @Author: ZhaoLongShi
 * @CreateDate: 
 */

/**
    * 管理员表
    */
@Data
@TableName(value = "`admin`")
public class Admin {
    /**
     * 主键ID
     */
    @TableId(value = "admin_id", type = IdType.INPUT)
    private Integer adminId;

    /**
     * 管理员用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 管理员密码
     */
    @TableField(value = "`password`")
    private String password;

    public static final String COL_ADMIN_ID = "admin_id";

    public static final String COL_USERNAME = "username";

    public static final String COL_PASSWORD = "password";
}